﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 产能报表查询对象
    /// </summary>
    public class CksCapacityreportQueryDto : PagerInfo
    {
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }
    }

    /// <summary>
    /// 产能报表输入输出对象
    /// </summary>
    public class CksCapacityreportDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "统计日期不能为空")]
        public DateTime StatDate { get; set; }

        [Required(ErrorMessage = "投入数量不能为空")]
        public int InputNum { get; set; }

        [Required(ErrorMessage = "产出数量不能为空")]
        public int Output { get; set; }

        [Required(ErrorMessage = "良率不能为空")]
        public decimal YieldRate { get; set; }

        [Required(ErrorMessage = "禁用状态不能为空")]
        public bool Nullity { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime CreatedTime { get; set; }

        [Required(ErrorMessage = "是否删除不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "是否删除")]
        public string IsDeletedLabel { get; set; }

        public string StatDayKey { get; set; }

        
    }
}